#ifndef SYMBOL_H
#define SYMBOL_H

#include <iostream>

// Test Hw2
#define symbolPath "symbols.def"

//Test Micro
//#define symbolPath "symbolsForTest.def"

//use macro to construct enum SYMBOL and string SYMBOL at the same time
enum SYMBOL{
#define X(a) a,
#include symbolPath
#undef X
	SYMBOL_COUNT
};

char const* const SYMBOL_str[] = {
#define X(a) #a,
#include symbolPath
#undef X
    0
};

#endif